﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Common
{
    public static class GenerateOrderNo
    {
        /**
       * 根据当前系统时间加随机序列来生成订单号
        * @return 订单号
       */
        public static string GeneratePayOrderNo(string uno)
        {
            Random ran = new Random();
            return string.Format("{0}{1}{2}", uno, DateTime.Now.ToString("yyyyMMddHHmmss"), ran.Next(999));
        }
    }
}